package com.wk1un2.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wk1un2.dao.RolesmenusDao;
import com.wk1un2.service.RolesmenusService;

@Service
public class RolesmenusServiceImpl implements RolesmenusService {
	@Autowired
	private RolesmenusDao rolesmenusdao;

	@Override
	public List<Map<String, Object>> getAllRolesmenus(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return rolesmenusdao.getAllRolesmenus(map);
	}

	@Override
	public Integer count(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return rolesmenusdao.count(map);
	}

}
